spring:
  datasource:
    sql-script-encoding: utf-8
    type: com.zaxxer.hikari.HikariDataSource
    url: ${formBean.url}?allowPublicKeyRetrieval=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: ${formBean.dbUsername}
    password: ${formBean.dbPassword}
    hikari:
      pool-name: ${formBean.artifactId}-hikaricp
      max-lifetime: 1765000
      maximum-pool-size: 64
      minimum-idle: 4
  application:
    name: ${formBean.artifactId}
mybatis-plus:
  type-aliases-package: ${package.Entity}
<#if !formBean.underscoreToCamelCase>
  configuration:
    map-underscore-to-camel-case: false
</#if>
<#if !formBean.springCloud && formBean.staticRoute>
server:
  port: 7001
<#else>
server:
  port: ${formBean.port}
</#if>
#  servlet:
#    context-path: /${formBean.artifactId}
# swagger文档访问路径
# http://localhost:<#if !formBean.springCloud && formBean.staticRoute>7001<#else>${formBean.port}</#if>/swagger-ui/index.html
# http://localhost:<#if !formBean.springCloud && formBean.staticRoute>7001<#else>${formBean.port}</#if>/doc.html
swagger:
  enabled: true
logging:
  level:
    ${package.Parent}: debug
    org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: trace